home *** CD-ROM | disk | FTP | other *** search
- Path: fido.asd.sgi.com!austern
- From: David Byrden <100101.2547@compuserve.com>
- Newsgroups: comp.std.c++
- Subject: Re: STL experts, please comment
- Date: 23 Jan 1996 10:39:37 PST
- Organization: self-employed
- Approved: austern@isolde.mti.sgi.com
- Message-ID: <4e1dsr$4kj@news.bridge.net>
- References: <4dnteb$6fo@news.bridge.net> <4e1034$5ar@hermes.synopsys.com>
- NNTP-Posting-Host: isolde.mti.sgi.com
- X-Original-Date: 23 Jan 1996 01:33:15 GMT
- X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
- X-Auth: PGPMoose V1.1 PGP comp.std.c++
- iQBVAwUBMQUt00y4NqrwXLNJAQEwxgH/VqOOQhet82dLjZb7wmv/mPW8Cm2xBx2Q
- e9DOaPIHr6UsvARg0EMfRSLeq53OpwjvA9zagXjcuBejX7ElkMrl1Q==
- =yBp2
- Originator: austern@isolde.mti.sgi.com
-
- >>>In the HP STL, deque::iterator has a default ctor which initialises
- >>>several of its members with the value 0
- >>>
- >>> iterator() : current(0), first(0), last(0), node(0) {}
-
- >> Well, they goofed, I suppose. Seems the types of allocators they
- >> used were all pointers, so they didn't test out other cases.
-
-
- Joe, you're absolutely right. I got a post (through a Compuserve forum)
- from someone pointing out that class 'deque' in the HP STL has bugs.
-
- David
-
-
-
- [Moderator's note: discussion of whether the sample code in the free
- STL implementation is standard-conforming certainly belongs in
- this newsgroup. Please try to avoid articles that repeat things
- that have already been said, though. mha]
-
- ---
- [ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu.
- Contact address: std-c++-request@ncar.ucar.edu. The moderation policy
- is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
-